package com.itheima.api;

import com.itheima.entity.dto.UserClientDto;
import com.itheima.entity.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author :WuJunJie
 * packageName :com.itheima.common
 * fileName :UserFein
 * creationTime :2022-12-10 20:34
 */
@FeignClient("tanhuaUserService")
public interface UserClient {
    @PostMapping("/userService/userClient")
    Result selectUsersByIds(@RequestBody UserClientDto userClientDto);

}
